How should compound words be handled when coding? Is there a definitive list of compound words? [closed]
Posted
by
Ray
on Programmers
See other posts from Programmers
or by Ray
Published on 2012-10-09T19:52:33Z
Indexed on
2012/10/09
21:57 UTC
Read the original article
Hit count: 254
QUESTION:
How should you handle compound words when programming?
Are there any good lists available online for developers of generally accepted technology-related compound words?
I can see how this is highly ambiguous, so should I just use common-sense?
EXAMPLE:
I would be inclined to do this:
filename NOT FileName
or
login NOT LogIn
However, the microsoft documentation indicates that filename is not compound. So I wonder, is there a more definitive source? See also, this english.stackexchange discussion on filename.
Under the section "Capitalization Rules for Compound Words and Common Terms" located here: Microsoft .NET Capitalization Conventions only offers a limited introduction into the topic, and leaves it up to the developer to use their intuition with the rest.
© Programmers or respective owner